<template>
	<view class="main">
		<view class="jx" >
			<view class="line1" @tap="index">
				<view class="name1">梓宁宝宝</view>
				<view class="name2">6个月</view>
				<view class="circle">
					<image src="../../static/Snipaste_2022-11-29_11-14-24.png" class="img"></image>
				</view>
			</view>
			<image src="../../static/Snipaste_2022-12-01_08-29-05.png" class="img1"></image>
		</view>
		<view class="jx" @tap="index">
			<view class="name1">梓宁宝宝</view>
			<view class="name2">6个月</view>
			<view class="circle">
				<image src="../../static/Snipaste_2022-11-29_11-14-24.png" class="img"></image>
			</view>
			<image src="../../static/Snipaste_2022-12-01_08-29-05.png" class="img1"></image>
		</view>
	</view>
</template>

<script>
	export default {
		data() {
			return {
				
			}
		},
		methods: {
			index(){
				uni.switchTab({
					url:'/pages/index/index'
				})
			},
			
			
		}
	}
</script>

<style>
	.main{
		position: fixed;
		height: 100%;
		width: 100%;
		background-color:#f2f2f2;
		display: flex;
		flex-direction: column;
		align-items: center;	
	}
	
	.img{
		width: 20px;
		height: 21px;
		margin-left: 32px;
	}
	
	.img1{
		width: 30px;
		height: 31px;
		margin-left: 32px;
		margin-top: 30px;
	}
	
	.jx{
		width: 98%;
		height:80px;
		background-color:white;
		border-radius:3px;
		margin-top: 10px;
		display: flex;
		flex-direction: row;
		justify-content: space-between;
		align-items: flex-start;	
	}
	
	.line1{
		width: 80%;
	}
	
	.circle{
		width: 50px;
		height:50px;
		background-color: gainsboro;
		border-radius: 50%;
		margin-top: 15px;
		margin-left: 27px;
		box-shadow: 0 0 5px 5px #fff;
	}
	
	.name1{
		position: absolute;
		margin-left: 100px;
		margin-top: 20px;
	}
	
	.name2{
		position: absolute;
		margin-left: 100px;
		margin-top: 50px;
		font-size: 10px;
		opacity: 0.5;
	}
</style>
